module.exports = {
	computed: {
		theme() {
			if (this.vuex_config.theme) {
				return this.vuex_config.theme;
			}
			return {};
		},
		lightColor() {
			let color = '#f5f5f5';
			if (this.vuex_config.theme) {
				let theme = this.vuex_config.theme;
				let colorArr = this.$u.colorGradient(theme.bgColor, theme.color, 10);
				color = colorArr[9] || '#f5f5f5';
			}
			return color;
		},
		faBorderColor() {
			let color = '#f5f5f5';
			if (this.vuex_config.theme) {
				let theme = this.vuex_config.theme;
				let colorArr = this.$u.colorGradient(theme.bgColor, theme.color, 10);
				color = colorArr[5] || '#f5f5f5';
			}
			return color;
		},
	},
}
